package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LExtractQuestions
 * @date 2021.03.25 10:33
 * @describe 考次抽题策略
 */
@TableName("l_extract_questions")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LExtractQuestions对象", description="考次抽题策略")
public class LExtractQuestions implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "extract_questions_id", type = IdType.AUTO)
    private Integer extractQuestionsId;

    @ApiModelProperty(value = "考次id")
    @TableField("exam_id")
    private Integer examId;

    @ApiModelProperty(value = "题型id")
    @TableField("questions_type_id")
    private Integer questionsTypeId;

    @TableField(exist = false)
    private String questionsTypeName;

    public String getQuestionsTypeName() {
        return questionsTypeName;
    }

    public void setQuestionsTypeName(String questionsTypeName) {
        this.questionsTypeName = questionsTypeName;
    }

    @ApiModelProperty(value = "说明")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "试题分数")
    @TableField("questions_fraction")
    private String questionsFraction;

    @ApiModelProperty(value = "题数")
    @TableField("number")
    private Integer number;

    @ApiModelProperty(value = "出题方式 1固定试卷 2随机试卷")
    @TableField(exist = false)
    private String assignTopic;

    @ApiModelProperty(value = "随机几份试卷")
    @TableField(exist = false)
    private Integer randomSeveral;

    @ApiModelProperty(value = "分数定义")
    @TableField(exist = false)
    private String fractionType;

    @ApiModelProperty(value = "试卷总分")
    @TableField(exist = false)
    private String totalPoints;

    @ApiModelProperty(value = "及格分数")
    @TableField(exist = false)
    private String passingMark;

    @ApiModelProperty(value = "试题总数")
    @TableField(exist = false)
    private String examTotal;

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getAssignTopic() {
        return assignTopic;
    }

    public void setAssignTopic(String assignTopic) {
        this.assignTopic = assignTopic;
    }

    public Integer getRandomSeveral() {
        return randomSeveral;
    }

    public void setRandomSeveral(Integer randomSeveral) {
        this.randomSeveral = randomSeveral;
    }

    public String getFractionType() {
        return fractionType;
    }

    public void setFractionType(String fractionType) {
        this.fractionType = fractionType;
    }

    public String getTotalPoints() {
        return totalPoints;
    }

    public void setTotalPoints(String totalPoints) {
        this.totalPoints = totalPoints;
    }

    public String getPassingMark() {
        return passingMark;
    }

    public void setPassingMark(String passingMark) {
        this.passingMark = passingMark;
    }

    public String getExamTotal() {
        return examTotal;
    }

    public void setExamTotal(String examTotal) {
        this.examTotal = examTotal;
    }

    public Integer getExtractQuestionsId() {
        return extractQuestionsId;
    }

    public void setExtractQuestionsId(Integer extractQuestionsId) {
        this.extractQuestionsId = extractQuestionsId;
    }

    public Integer getExamId() {
        return examId;
    }

    public void setExamId(Integer examId) {
        this.examId = examId;
    }

    public Integer getQuestionsTypeId() {
        return questionsTypeId;
    }

    public void setQuestionsTypeId(Integer questionsTypeId) {
        this.questionsTypeId = questionsTypeId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getQuestionsFraction() {
        return questionsFraction;
    }

    public void setQuestionsFraction(String questionsFraction) {
        this.questionsFraction = questionsFraction;
    }
}
